package com.studentexam.student.service;

import com.studentexam.student.model.Role;

import java.util.List;

public interface RoleService{
    int addRole(Role role);

    int updateRole(Role role);

    int delRole(int roleid);

    List<Role> getByRoleid(int roleid);

    List<Role> getAllRole(Role role);
}
